import axios from "axios";

export default {

//  生成统计数据
    createData(day) {
        return axios({
            url: `/count/registerCount/${day}`,
            method: 'post',
        })
    },

//  显示图表数据
    showChartsData(searchObj) {
        return axios({
            url: `/count/showCharts/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
            method: 'get',
        })
    },

}

